from math import sqrt
def distance(xA,YA,XB,YB):
    c=...
    return c